<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../head.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>order-list</title>
</head>
<body>
	<div class="box-positon">
		<div class="rpos">当前位置: 订单管理 - 编辑</div>
		<form class="ropt" action="/order/list.do">
			<input type="hidden" value="${pageNo}" name="pageNo"/>
			<input type="submit"  value="返回列表" class="return-button"/>
		</form>
		<div class="clear"></div>
	</div>
	<div class="body-box">
		<form id="jvForm" action="/order/edit.do?id=${order.id}" method="post">
			<input type="hidden" value="${pageNo}" name="pageNo"/>
			<table cellspacing="1" cellpadding="2" border="0" width="100%" class="pn-ftable">
				<tbody>
					<tr>
						<td width="12%" class="pn-flabel pn-flabel-h">订单号:</td>
						<td width="38%" colspan="1" class="pn-fcontent">${order.id}</td>
						<td width="12%" class="pn-flabel pn-flabel-h">运费:</td>
						<td width="38%" colspan="1" class="pn-fcontent">
							<input type="text" class="required" name="freight" value="${order.freight}" size="40" maxlength="100"/>
						</td>
					</tr>
					<tr>
						<td width="12%" class="pn-flabel pn-flabel-h">订单金额:</td>
						<td width="38%" colspan="1" class="pn-fcontent">
							<input type="text" class="required" name="orderPrice" value="${order.orderPrice}"  size="40" maxlength="100"/>
						</td>
						<td width="12%" class="pn-flabel pn-flabel-h">应付金额:</td>
						<td width="38%" colspan="1" class="pn-fcontent">
							<input type="text" class="required" name="amountPay" value="${order.amountPay}"  size="40" maxlength="100"/>
						</td>
					</tr>
					<tr>
						<td width="12%" class="pn-flabel pn-flabel-h">支付方式:</td>
						<td width="38%" colspan="1" class="pn-fcontent">
							<input type="radio" name="paymentWay" value="1" <c:if test="${order.paymentWay == 1}" >checked="checked"</c:if>/>平台付款
							<input type="radio" name="paymentWay" value="0" <c:if test="${order.paymentWay == 0}" >checked="checked"</c:if>/>货到付款
						</td>
						<td width="12%" class="pn-flabel pn-flabel-h">支付要求:</td>
						<td width="38%" colspan="1" class="pn-fcontent">
							<input type="radio" name="paymentCash" value="1" <c:if test="${order.paymentCash == 1}" >checked="checked"</c:if>/>支付宝
							<input type="radio" name="paymentCash" value="0" <c:if test="${order.paymentCash == 0}" >checked="checked"</c:if>/>现金
						</td>
					</tr>
					<tr>
						<td width="12%" class="pn-flabel pn-flabel-h">支付状态:</td>
						<td width="38%" colspan="1" class="pn-fcontent">
							<input type="radio" name="isPay" value="1" <c:if test="${order.isPay == 1}" >checked="checked"</c:if>/>已付款
							<input type="radio" name="isPay" value="0" <c:if test="${order.isPay == 0}" >checked="checked"</c:if>/>待付款
						</td>
						<td width="12%" class="pn-flabel pn-flabel-h">订单状态:</td>
						<td width="38%" colspan="1" class="pn-fcontent">
							<input type="radio" name="orderState" value="1" <c:if test="${order.orderState == 1}" >checked="checked"</c:if>/>有效订单
							<input type="radio" name="orderState" value="0" <c:if test="${order.orderState == 0}" >checked="checked"</c:if>/>失效订单
						</td>
					</tr>
					<tr>
						<td width="12%" class="pn-flabel pn-flabel-h">用户id:</td>
						<td width="38%" colspan="1" class="pn-fcontent">${order.userId}</td>
						<td width="12%" class="pn-flabel pn-flabel-h">商品:</td>
						<td width="38%" colspan="1" class="pn-fcontent">
							<input type="text" class="required" name="note" value=""  size="50" maxlength="100"/>
						</td>
					</tr>
				</tbody>
				<tbody>
				<tr>
					<td class="pn-fbutton" colspan="2">
						<input type="submit"  class="submit" value="提交"/> &nbsp; <input type="reset" class="reset" value="重置"/>
					</td>
				</tr>
				</tbody>
			</table>
		</form>
	</div>
	<div style="margin-top:15px;">
		<input  type="button" onclick=""/>
	</div>
</body>
</html>